<template>
	<view class="footer" :style="{'z-index':zIndex}">
		<view class="foot_inner horizontal_view align_item_center justify_center  px-20">
			<slot></slot>
		</view>
	</view>
</template>

<script>
	export default {
		name: "FooterArea",
		props:{
			zIndex:{
				type:Number,
				default:()=>{
					return 99
				}
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.footer {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		min-height: 100rpx;
		background: #fff;
		z-index: 99;
		padding-bottom: constant(safe-area-inset-bottom);
		padding-bottom: env(safe-area-inset-bottom);
		box-shadow: 0 0 13px rgba(0, 0, 0, 0.2);

		.foot_inner {
			height: 100rpx;
		}
	}
</style>